package com.santu.edu.supporter.interceptor;

/**
 * @author luoyaoqi
 * @createTime 2023/9/5
 * @description
 */
public class UserThreadLocal {

    private static final ThreadLocal<String> LOCAL = new ThreadLocal<>();

    private UserThreadLocal() {
    }

    public static void set(String appId) {
        LOCAL.set(appId);
    }

    public static String get() {
        return LOCAL.get();
    }

    public static void remove() {
        LOCAL.remove();
    }
}
